package com.student.pojo;

/**
 * @author lin945
 * @date 2020/4/25 12:45
 */
public class Student {
    private String id;
    private String name;
    private  String sex;
    private String birth;
    private String schoolday;
    private String major_id;

    public Student() {
    }

    public Student(String id, String name, String sex, String birth, String schoolday, String major_id, String college_id) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.birth = birth;
        this.schoolday = schoolday;
        this.major_id = major_id;
        this.college_id = college_id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public void setSchoolday(String schoolday) {
        this.schoolday = schoolday;
    }

    public void setMajor_id(String major_id) {
        this.major_id = major_id;
    }

    public void setCollege_id(String college_id) {
        this.college_id = college_id;
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getSex() {
        return sex;
    }

    public String getBirth() {
        return birth;
    }

    public String getSchoolday() {
        return schoolday;
    }

    public String getMajor_id() {
        return major_id;
    }

    public String getCollege_id() {
        return college_id;
    }

    private String college_id;

    @Override
    public String toString() {
        return "Student{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", birth='" + birth + '\'' +
                ", schoolday='" + schoolday + '\'' +
                ", major_id='" + major_id + '\'' +
                ", college_id='" + college_id + '\'' +
                '}';
    }
}
